package com.sikaryofficial.backend.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sikaryofficial.common.core.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 积分邮件对象 points_email_t
 * 
 * @author qinjinyuan
 * @date 2024-01-26
 */
@Getter
@Setter
@ToString
@TableName("points_email_t")
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Accessors(chain = true)
public class PointsEmail implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 积分邮件ID */
    private Long pointsEmailId;

    /** 用户ID */
    private Long userId;

    /** 邮件发送标识 0-未发送 1-已发送 */
    private Integer sendFlag;
    /**
     * 邮件发送年份
     */
    private Integer sendYear;

    /** 租户号 */
    @Excel(name = "租户号")
    private Integer tenantId;

    /** 乐观锁 */
    private Integer revision;

    /** 创建人 */
    private Long createdBy;

    /** 创建时间 */
    private Date createdTime;

    /** 更新人 */
    private Long updatedBy;

    /** 更新时间 */
    private Date updatedTime;

    /** 删除标识 0-未删除 1-已删除 */
    private Long deletedVersion;
}
